[INFO] cloning repository https://github.com/btrust-builders/rust-week-4-exercises
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/btrust-builders/rust-week-4-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbtrust-builders%2Frust-week-4-exercises", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbtrust-builders%2Frust-week-4-exercises'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c4695bdbe3da51cf2675832b5c0b493662ec05e8
[INFO] fixing btrust-builders/rust-week-4-exercises against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbtrust-builders%2Frust-week-4-exercises" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/btrust-builders/rust-week-4-exercises
[INFO] finished tweaking git repo https://github.com/btrust-builders/rust-week-4-exercises
[INFO] tweaked toml for git repo https://github.com/btrust-builders/rust-week-4-exercises written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/btrust-builders/rust-week-4-exercises on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/btrust-builders/rust-week-4-exercises already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a357a310b947871977c7197419d8e7f6c095fe7c3749f5383f38f2059e3bb513
[INFO] running `Command { std: "docker" "start" "a357a310b947871977c7197419d8e7f6c095fe7c3749f5383f38f2059e3bb513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a357a310b947871977c7197419d8e7f6c095fe7c3749f5383f38f2059e3bb513" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a357a310b947871977c7197419d8e7f6c095fe7c3749f5383f38f2059e3bb513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a357a310b947871977c7197419d8e7f6c095fe7c3749f5383f38f2059e3bb513" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking rust-week-4-exercises v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |            ---                ^^^^ expected `Point<T>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Point<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |       fn serialize(&self) -> Vec<u8> {
[INFO] [stdout]    |  ____________________________________^
[INFO] [stdout] 33 | |         // TODO: Implement serialization to bytes
[INFO] [stdout] 34 | |     }
[INFO] [stdout]    | |_____^ expected `Vec<u8>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<u8>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn builder() -> LegacyTransactionBuilder {
[INFO] [stdout]    |            -------      ^^^^^^^^^^^^^^^^^^^^^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn default() -> Self {
[INFO] [stdout]    |        -------      ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn new() -> Self {
[INFO] [stdout]    |            ---      ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:71:47
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn version(mut self, version: i32) -> Self {
[INFO] [stdout]    |            -------                            ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `self`
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn version(mut self, version: i32) -> Self {
[INFO] [stdout] 72 ~         self
[INFO] [stdout] 73 ~     // TODO: Set the transaction version
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:75:51
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn add_input(mut self, input: TxInput) -> Self {
[INFO] [stdout]    |            ---------                              ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `self`
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn add_input(mut self, input: TxInput) -> Self {
[INFO] [stdout] 76 ~         self
[INFO] [stdout] 77 ~     // TODO: Add input to the transaction
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:79:54
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn add_output(mut self, output: TxOutput) -> Self {
[INFO] [stdout]    |            ----------                                ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `self`
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn add_output(mut self, output: TxOutput) -> Self {
[INFO] [stdout] 80 ~         self
[INFO] [stdout] 81 ~     // TODO: Add output to the transaction
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:83:51
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn lock_time(mut self, lock_time: u32) -> Self {
[INFO] [stdout]    |            ---------                              ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `self`
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn lock_time(mut self, lock_time: u32) -> Self {
[INFO] [stdout] 84 ~         self
[INFO] [stdout] 85 ~     // TODO: Set lock_time for transaction
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:87:27
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn build(self) -> LegacyTransaction {
[INFO] [stdout]    |            -----          ^^^^^^^^^^^^^^^^^ expected `LegacyTransaction`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:113:43
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub fn parse_cli_args(args: &[String]) -> Result<CliCommand, BitcoinError> {
[INFO] [stdout]     |        --------------                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<CliCommand, BitcoinError>`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<CliCommand, BitcoinError>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn try_from(data: &[u8]) -> Result<Self, Self::Error> {
[INFO] [stdout]     |        --------                 ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<LegacyTransaction, BitcoinError>`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<LegacyTransaction, BitcoinError>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:134:28
[INFO] [stdout]     |
[INFO] [stdout] 134 |     fn serialize(&self) -> Vec<u8> {
[INFO] [stdout]     |        ---------           ^^^^^^^ expected `Vec<u8>`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<u8>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |            ---                ^^^^ expected `Point<T>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Point<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |       fn serialize(&self) -> Vec<u8> {
[INFO] [stdout]    |  ____________________________________^
[INFO] [stdout] 33 | |         // TODO: Implement serialization to bytes
[INFO] [stdout] 34 | |     }
[INFO] [stdout]    | |_____^ expected `Vec<u8>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<u8>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn builder() -> LegacyTransactionBuilder {
[INFO] [stdout]    |            -------      ^^^^^^^^^^^^^^^^^^^^^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn default() -> Self {
[INFO] [stdout]    |        -------      ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn new() -> Self {
[INFO] [stdout]    |            ---      ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:71:47
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn version(mut self, version: i32) -> Self {
[INFO] [stdout]    |            -------                            ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `self`
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn version(mut self, version: i32) -> Self {
[INFO] [stdout] 72 ~         self
[INFO] [stdout] 73 ~     // TODO: Set the transaction version
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:75:51
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn add_input(mut self, input: TxInput) -> Self {
[INFO] [stdout]    |            ---------                              ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `self`
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn add_input(mut self, input: TxInput) -> Self {
[INFO] [stdout] 76 ~         self
[INFO] [stdout] 77 ~     // TODO: Add input to the transaction
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:79:54
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn add_output(mut self, output: TxOutput) -> Self {
[INFO] [stdout]    |            ----------                                ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `self`
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn add_output(mut self, output: TxOutput) -> Self {
[INFO] [stdout] 80 ~         self
[INFO] [stdout] 81 ~     // TODO: Add output to the transaction
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:83:51
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn lock_time(mut self, lock_time: u32) -> Self {
[INFO] [stdout]    |            ---------                              ^^^^ expected `LegacyTransactionBuilder`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `self`
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn lock_time(mut self, lock_time: u32) -> Self {
[INFO] [stdout] 84 ~         self
[INFO] [stdout] 85 ~     // TODO: Set lock_time for transaction
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:87:27
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn build(self) -> LegacyTransaction {
[INFO] [stdout]    |            -----          ^^^^^^^^^^^^^^^^^ expected `LegacyTransaction`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:113:43
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub fn parse_cli_args(args: &[String]) -> Result<CliCommand, BitcoinError> {
[INFO] [stdout]     |        --------------                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<CliCommand, BitcoinError>`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<CliCommand, BitcoinError>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn try_from(data: &[u8]) -> Result<Self, Self::Error> {
[INFO] [stdout]     |        --------                 ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<LegacyTransaction, BitcoinError>`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<LegacyTransaction, BitcoinError>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:134:28
[INFO] [stdout]     |
[INFO] [stdout] 134 |     fn serialize(&self) -> Vec<u8> {
[INFO] [stdout]     |        ---------           ^^^^^^^ expected `Vec<u8>`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<u8>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-week-4-exercises` (lib) due to 13 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-week-4-exercises` (lib test) due to 13 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "a357a310b947871977c7197419d8e7f6c095fe7c3749f5383f38f2059e3bb513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a357a310b947871977c7197419d8e7f6c095fe7c3749f5383f38f2059e3bb513", kill_on_drop: false }`
[INFO] [stdout] a357a310b947871977c7197419d8e7f6c095fe7c3749f5383f38f2059e3bb513
